//
//  ZZCUrl.h
//  ZZC-Finance
//
//  Created by mac on 2017/6/9.
//  Copyright © 2017年 mac. All rights reserved.
//

#ifndef ZZCUrl_h
#define ZZCUrl_h

//广告
#define ZZCURL_API_INDEX [NSString stringWithFormat:@"%@/api/Apply/index",ZZCURL_API]
//发送验证码
#define ZZCURL_API_SENDCODE [NSString stringWithFormat:@"%@/api/Index/sendCode",ZZCURL_API]
//检验验证码
#define ZZCURL_API_CHECKCODE [NSString stringWithFormat:@"%@/api/Index/checkCode",ZZCURL_API]
//文件上传
#define ZZCURL_API_UPLOAD [NSString stringWithFormat:@"%@/api/Index/upload",ZZCURL_API]
//关于我们
#define ZZCURL_API_NETINTRO [NSString stringWithFormat:@"%@/api/Apply/netIntro",ZZCURL_API]
//用户反馈
#define ZZCURL_API_USERFEEDBACK [NSString stringWithFormat:@"%@/api/Apply/userFeedback",ZZCURL_API]
//修改支付密码
#define ZZCURL_API_PAYCODE_EDIR [NSString stringWithFormat:@"%@/api/Apply/payCode_edit",ZZCURL_API]
//设置支付密码
#define ZZCURL_API_SET_PASSWORD [NSString stringWithFormat:@"%@/api/Apply/setPayPassword",ZZCURL_API]


//应有资产
#define ZZCURL_API_USERASSETS [NSString stringWithFormat:@"%@/api/User/userAssets",ZZCURL_API]
//支付充值
#define ZZCURL_API_RECHARGE [NSString stringWithFormat:@"%@/api/Pay/recharge",ZZCURL_API]

#pragma mark - =================我的资产================
//获取用户U币
#define ZZCURL_API_MYUBI [NSString stringWithFormat:@"%@/api/User/myUbi",ZZCURL_API]
//我的资产
#define ZZCURL_API_MYASSET [NSString stringWithFormat:@"%@/api/User/myAsset",ZZCURL_API]
//申请授信
#define ZZCURL_API_MYQUOTA [NSString stringWithFormat:@"%@/api/Credit/addCredit",ZZCURL_API]
//我的定期查看
#define ZZCURL_API_MYREGULAR [NSString stringWithFormat:@"%@/api/User/myRegular",ZZCURL_API]
//平台利率
#define ZZCURL_API_RATE [NSString stringWithFormat:@"%@/api/Credit/rate",ZZCURL_API]
//用户资产活期转定期
#define ZZCURL_API_TURNREGULAR [NSString stringWithFormat:@"%@/api/User/turnRegular",ZZCURL_API]
//用户资产定期转活期
#define ZZCURL_API_TURNOUT [NSString stringWithFormat:@"%@/api/User/turnOut",ZZCURL_API]
//用户活期转个人接口
#define ZZCURL_API_TURNPERSONAL [NSString stringWithFormat:@"%@/api/User/turnPersonal",ZZCURL_API]
//用户提现申请的状态
#define ZZCURL_API_WITHDRAW_APPLY [NSString stringWithFormat:@"%@/api/Withdraw/apply",ZZCURL_API]
//提交提现申请
#define ZZCURL_API_WITHDRAW_DOAPPLY [NSString stringWithFormat:@"%@/api/Withdraw/doApply",ZZCURL_API]
//提现成功确定
#define ZZCURL_API_WITHDRAW_CONFIRMAPPLY [NSString stringWithFormat:@"%@/api/Withdraw/confirmApply",ZZCURL_API]
//授信列表
#define ZZCURL_API_CREDIT_MYQUOTA [NSString stringWithFormat:@"%@/api/Credit/myQuota",ZZCURL_API]
//授信还款记录
#define ZZCURL_API_CREDIT_CREDITLIST [NSString stringWithFormat:@"%@/api/Credit/creditList",ZZCURL_API]
//授信还款
#define ZZCURL_API_CREDIT_REPAYMENT [NSString stringWithFormat:@"%@/api/Credit/repayment",ZZCURL_API]




#pragma mark - =================登录注册================
//用户注册接口
#define ZZCURL_API_REGIST [NSString stringWithFormat:@"%@/api/User/regist",ZZCURL_API]
//用户登录接口
#define ZZCURL_API_LOGIN [NSString stringWithFormat:@"%@/api/User/login",ZZCURL_API]
//用户找回密码接口
#define ZZCURL_API_FORGETPASSWORD [NSString stringWithFormat:@"%@/api/User/forgetPassword",ZZCURL_API]
//修改密码接口
#define ZZCURL_API_CHANGPASSWORD [NSString stringWithFormat:@"%@/api/User/changePassword",ZZCURL_API]
//退出登录
#define ZZCURL_API_LOGOUT [NSString stringWithFormat:@"%@/api/User/logout",ZZCURL_API]
//设置与修改手势密码接口
#define ZZCURL_API_DUMP [NSString stringWithFormat:@"%@/api/Apply/dump",ZZCURL_API]
//微信登录
#define ZZCURL_API_WXLOGIN [NSString stringWithFormat:@"%@/api/User/wxLogin",ZZCURL_API]

//微信绑定
#define ZZCURL_API_WXBINGDING [NSString stringWithFormat:@"%@/api/User/wxBinding",ZZCURL_API]


#pragma mark - =================个人信息================

//完善信息的展示
#define ZZCURL_API_AGENTMESS [NSString stringWithFormat:@"%@/api/Apply/agentmess",ZZCURL_API]
//扫码关注
#define ZZCURL_API_FOLLOW [NSString stringWithFormat:@"%@/api/Apply/follow",ZZCURL_API]
//换绑手机号码
#define ZZCURL_API_PHONE [NSString stringWithFormat:@"%@/api/Apply/phone",ZZCURL_API]
//浏览记录
#define ZZCURL_API_HISTORY [NSString stringWithFormat:@"%@/api/Apply/history",ZZCURL_API]
//点击收藏
#define ZZCURL_API_FAVORITE [NSString stringWithFormat:@"%@/api/Apply/favorite",ZZCURL_API]
//个人地址编辑信息展示
#define ZZCURL_API_SHOWADDRESS [NSString stringWithFormat:@"%@/api/Apply/showAddress",ZZCURL_API]
//完善企业信息
#define ZZCURL_API_PROMESS [NSString stringWithFormat:@"%@/api/Apply/promess",ZZCURL_API]
//删除地址
#define ZZCURL_API_DELADDRESS [NSString stringWithFormat:@"%@/api/Apply/delAddress",ZZCURL_API]
//个人地址添加
#define ZZCURL_API_NEWADDRESS [NSString stringWithFormat:@"%@/api/Apply/newAddress",ZZCURL_API]
//个人地址更新
#define ZZCURL_API_UPDATEADDRESS [NSString stringWithFormat:@"%@/api/Apply/updateAddress",ZZCURL_API]
//个人信息展示
#define ZZCURL_API_PERSONAL [NSString stringWithFormat:@"%@/api/Apply/personal",ZZCURL_API]
//更改昵称
#define ZZCURL_API_NICKNAME [NSString stringWithFormat:@"%@/api/Apply/nickName",ZZCURL_API]
//个人地址展示
#define ZZCURL_API_ADDRESS [NSString stringWithFormat:@"%@/api/Apply/address",ZZCURL_API]

//设置默认地址
#define ZZCURL_API_DEFAULTADDRESS [NSString stringWithFormat:@"%@/api/Apply/defaultAddress",ZZCURL_API]



#pragma mark - =================代理合作================
//律师与评估专家申请
#define ZZCURL_API_LAWYER [NSString stringWithFormat:@"%@/api/Apply/lawyer",ZZCURL_API]
//代理商申请
#define ZZCURL_API_AGENT [NSString stringWithFormat:@"%@/api/Apply/agent",ZZCURL_API]
//用户代理合作状态
#define ZZCURL_API_STATUS [NSString stringWithFormat:@"%@/api/Apply/status",ZZCURL_API]
//律师与评估专家信息展示
#define ZZCURL_API_LAWYERYRMESS [NSString stringWithFormat:@"%@/api/Apply/lawyermess",ZZCURL_API]
//代理商信息展示
#define ZZCURL_API_AREA [NSString stringWithFormat:@"%@/api/Apply/area",ZZCURL_API]


#pragma mark - =================交易记录================

//U币记录
#define ZZCURL_API_URECORD [NSString stringWithFormat:@"%@/api/User/uRecord",ZZCURL_API]
//U币记录删除
#define ZZCURL_API_URECORDDELETE [NSString stringWithFormat:@"%@/api/User/uRecordDelete",ZZCURL_API]
//还款记录
#define ZZCURL_API_CREDITRECORD [NSString stringWithFormat:@"%@/api/Credit/creditRecord",ZZCURL_API]
//还款记录删除
#define ZZCURL_API_CREDITRECORDDELETE [NSString stringWithFormat:@"%@/api/Credit/creditRecordDelete",ZZCURL_API]
//额度记录
#define ZZCURL_API_QUOTARECORD [NSString stringWithFormat:@"%@/api/Credit/quotaRecord",ZZCURL_API]
//额度记录删除
#define ZZCURL_API_QUOTARECORDDELETE [NSString stringWithFormat:@"%@/api/Credit/quotaRecordDelete",ZZCURL_API]

#pragma mark - ================= H 5 分类页面================
/////////////////////////分栏控制器
//H5 商品分类
#define ZZCURL_API_H5_CLASSIFY [NSString stringWithFormat:@"%@/h5/goods/good_cate",ZZCURL_API]
//H5 最新商品
#define ZZCURL_API_H5_LATEST [NSString stringWithFormat:@"%@/h5/goods/good_new",ZZCURL_API]
//H5 购物车
#define ZZCURL_API_H5_CART [NSString stringWithFormat:@"%@/h5/cart/cart",ZZCURL_API]

//////////////////////////首页
//首页->搜索
#define ZZCURL_API_H5_SEARCH [NSString stringWithFormat:@"%@/h5/Goods/index",ZZCURL_API]
//首页->项目介绍
#define ZZCURL_API_H5_INTRODUCE [NSString stringWithFormat:@"%@/h5/content/project_introduce",ZZCURL_API]
//首页->常见问题
#define ZZCURL_API_H5_QUESTION [NSString stringWithFormat:@"%@/h5/content/question",ZZCURL_API]
//首页->上报资产
#define ZZCURL_API_H5_ASSET_STATUS [NSString stringWithFormat:@"%@/h5/asset/asset_status/status",ZZCURL_API]

//首页->上报资产应付款
#define ZZCURL_API_H5_ASSET_REPORT_PAYABLE [NSString stringWithFormat:@"%@/h5/asset/report_payable_asset",ZZCURL_API]

//首页->劳务合作
#define ZZCURL_API_H5_CHOOSE_INDEX [NSString stringWithFormat:@"%@/h5/choose/index",ZZCURL_API]
//首页->发布消息
#define ZZCURL_API_H5_CHOOSE_RELEASE [NSString stringWithFormat:@"%@/h5/choose/release",ZZCURL_API]
//首页->信息中心
#define ZZCURL_API_H5_CHOOSE_MESSAGE [NSString stringWithFormat:@"%@/h5/choose/message",ZZCURL_API]
//首页->我的劳务合作
#define ZZCURL_API_H5_CHOOSE_COMM [NSString stringWithFormat:@"%@/h5/choose/comm",ZZCURL_API]
//完善信息
#define ZZCURL_API_H5_PERSONAL [NSString stringWithFormat:@"%@/h5/personal/Authentication",ZZCURL_API]



//首页->待评估
#define ZZCURL_API_H5_ASSET_WAIT [NSString stringWithFormat:@"%@/h5/asset/asset_wait",ZZCURL_API]
//首页->资产变现
#define ZZCURL_API_H5_ASSET_CASH [NSString stringWithFormat:@"%@/h5/asset/change_cash",ZZCURL_API]
//首页->不动产
#define ZZCURL_API_H5_ASSET_IMMOVABLE [NSString stringWithFormat:@"%@/h5/asset/asset_type?type=2",ZZCURL_API]
//首页->动产
#define ZZCURL_API_H5_ASSET_MOVABLE [NSString stringWithFormat:@"%@/h5/asset/asset_type",ZZCURL_API]


///////////////////////////我的
//我的->需求资产
#define ZZCURL_API_H5_ASSET [NSString stringWithFormat:@"%@/h5/User/need",ZZCURL_API]
//我的->我的收藏
#define ZZCURL_API_H5_COLLECT [NSString stringWithFormat:@"%@/h5/user/favorite",ZZCURL_API]
//我的->浏览记录
#define ZZCURL_API_H5_RECORD [NSString stringWithFormat:@"%@/h5/user/history",ZZCURL_API]
//我的->我的订单
#define ZZCURL_API_H5_MYORDER [NSString stringWithFormat:@"%@/h5/Order/myorder",ZZCURL_API]



//.......ceshi
#define ZZZZURL [NSString stringWithFormat:@"http://www.stlh.com/action===openNewUrl"]




#endif /* ZZCUrl_h */



